/*
	@file: log/include/detail/LogPriorityHelper.h
	@author: Wolfhead
 */
#ifndef _LOG_LOG_PRIORITY_HELPER_H_
#define _LOG_LOG_PRIORITY_HELPER_H_

#include <string>
#include "../LogPriority.h"

namespace logger
{

class LogPriorityHelper
{
public:
	static LogPriority parse_priority(const std::string& str_priority);

	static LogPriority string_to_priority(const std::string& str_priority);

	static std::string priority_to_string(LogPriority priority);

	static LogPriority cover_priority(LogPriority priority);
};

}//namespace logger

#endif //#ifndef _LOG_LOG_PRIORITY_HELPER_H_
